<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<link rel="stylesheet" href="resources/css/office/wardcheobang.css">
<script type="text/javascript"
	src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="resources/js/office/wardcheobang.js"></script>

<div id="systembase">
	<!-- 환자 정보 시작 -->
	<fieldset style="width:950px;">
		<legend>환자정보</legend>
		<table class="patiend_info_table">
			<tr>
				<th class="width80px">고유번호</th>
				<th>이름</th>
				<th class="width80px">성별</th>
				<th class="width171px">주민번호</th>
				<th class="width80px">국민보험</th>
				<th class="width80px">자동차보험</th>
				<th class="width80px">산업재해보험</th>
			</tr>
			<tr id="patient_info_tr1">
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
		</table>
		<table class="patiend_info_table2">
			<tr>
				<th class="width171px">우편번호</th>
				<th>주소</th>
				<th class="width171px">연락처</th>
			</tr>
			<tr id="patient_info_tr2">
				<td></td>
				<td></td>
				<td></td>
			</tr>
		</table>
	</fieldset>
	<!-- 환자 정보 끝 -->

	<!-- 오른쪽 중간 -->
	<div style="margin: 20px auto; width: 600px;">
		<fieldset style="width: 600px; margin: 20px auto;">
			<legend>입원 수납</legend>
			<form id="soonapform" name="soonapform">
				<table id="righttable3">
					<tr id='sootitle'>
						<th>접수번호</th>
						<th>접수일자</th>
						<th>전체금액</th>
						<th>미수납금액</th>
					</tr>
					<tr>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
					</tr>
					<tr id='sootitle'>
						<td colspan='2'>수납 금액</td>
						<td colspan='2'><input id='no_soonap_btn'
							name='no_soonap_btn' type='text' placeholder='수납금액 입력란' onkeyPress="if ((event.keyCode<48) || (event.keyCode>57)) event.returnValue=false;"></td>
					</tr>
					<tr>
						<td colspan='4'><button id='finalbtn' class='btn2'
								onclick='formaction()'>완료</button></td>
					</tr>
				</table>
			</form>
		</fieldset>
	</div>
	<!-- 오른쪽 중간끝 -->
</div>

<!-- 오른쪽 환자 대기 리스트 시작 -->
<div id="systembaseside">
	<div id='namelist' style="display: none;"></div>
	<div style="text-align: center; margin: 20px auto;">
		<input id="inputtag" class="inputtag" type="text" name="name2"
			onkeyup="fn_onkeypress();">
		<button type="button" id="btncheckname" name="btncheckname">검색</button>
	</div>
	<div
		style="text-align: center; font-size: 14pt; font-weight: bold; margin: 10px;">퇴원
		완료 리스트</div>
	<div id='sidejson'>
		<table id="sidetable">
			<tr>
				<th>접수번호</th>
				<th>이름</th>
			</tr>
			<c:forEach items="${wardlist}" var="n">
				<tr class='nameTr'>
					<td><input type='hidden' class='selectname'
						readonly='readonly' value='${n.jupsoo_id}'>${n.jupsoo_id}</td>
					<td><input type='hidden' class='selectname'
						readonly='readonly' value='${n.name}'>${n.name}</td>
				</tr>
			</c:forEach>
		</table>
		<table class="sidetable">

		</table>
	</div>
</div>
<!-- 오른쪽 환자 대기 리스트 끝 -->
